//
//  BaseNav.m
//  LocalGoods
//
//  Created by Feihong Ye on 2018/9/20.
//  Copyright © 2018年 Xiaodong Huang. All rights reserved.
//

#import "BaseNav.h"

@implementation BaseNav

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    if (self.viewControllers.count != 0 && !self.navigationItem.hidesBackButton) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:animated];
}

@end
